#include <iostream>
#include <typeinfo>

using namespace std;

int main(int argc, char const *argv[])
{
    int uninitializedInt;
    int initializedInt = 7;

    cout << uninitializedInt << " is a random value" << endl;
    cout << initializedInt << " was assigned an initial value" << endl;

    auto i = 10;
    cout << "i type: " << typeid(i).name() << endl;

    char x = 8;
    decltype(x) y = 9;
    cout << "y type is: " << typeid(y).name() << endl;

    return 0;
}
